//
//  SMTProgressWebView.h
//  goldenfinger
//
//  Created by apple on 15/12/23.
//  Copyright © 2017年 NewwingGroup. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol SMTProgressWebViewDelegate <NSObject>

- (void)webViewDidFinishLoad:(UIWebView *)webView;

@end

@interface SMTProgressWebView : UIView

@property (nonatomic, copy) NSString *url;
@property (nonatomic, copy, readonly) NSString *webTitle;

@property (nonatomic, readonly) UIWebView *webView;
@property (nonatomic, strong) UIColor *progressColor;

@property (nonatomic, assign, readonly) CGFloat progress;

@property (nonatomic, weak) id<SMTProgressWebViewDelegate> delegate;
@property (nonatomic, weak) id<UIWebViewDelegate> webViewDelegate;

- (instancetype)initWithFrame:(CGRect)frame andUrl:(NSString *)url;
- (void)reset;
@end
